#pragma once

#pragma warning(disable:4251)

#ifdef WIN32
    #ifdef BUILD_WHENGINE_DLL
        #define WHENGINE_API __declspec(dllexport)   
    #else
        #define WHENGINE_API __declspec(dllimport)
    #endif
#else
    #define WHENGINE_API 
#endif


#define INVALID_NUM -1


#ifdef DEBUG
    #ifdef __clang__ 
        #if __has_builtin(__builtin_source_location)
            #define USING_SOURCE_LOCATION
        #endif
    #endif

    #ifdef _MSC_VER
        #define USING_SOURCE_LOCATION
    #endif
#endif
//supported platforms: WIN32 LINUX ANDROID MACOS IOS 


#define DEBUG_SCRIPT

#ifdef DEBUG_SCRIPT
    #define DEBUG_GSHARP
#endif